//
//  YWHomeIconCell.m
//  YueshengToutiao
//
//  Created by jun peng on 2021/12/28.
//  Copyright © 2021 YW. All rights reserved.
//

#import "YWHomeIconCell.h"

@interface YWHomeIconCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@end


@implementation YWHomeIconCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.iconView.layer.cornerRadius = 6;
    self.iconView.clipsToBounds = YES;
    
    
}

-(void)setImageStr:(NSString *)imageStr{
    
    _imageStr = [imageStr copy];
    
    
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:imageStr] placeholderImage:[UIImage imageNamed:@""]];
}

@end
